import http from "@/utils/request"

export default {
	list: {
		method: `admin.adminUserRole.index`,
		name: "角色管理",
		get: async function (params) {
			console.log(params);
			return await http.post(this.method, params);
		}
	},
	store: {
		method: `admin.adminUserRole.store`,
		name: "角色管理",
		post: async function (params) {
			return await http.post(this.method, params);
		}
	},
	changeStatus: {
		method: `admin.adminUserRole.changeStatus`,
		name: "角色管理",
		post: async function (params) {
			return await http.post(this.method, params);
		}
	},
	deleteRole: {
		method: `admin.adminUserRole.deleteRole`,
		name: "删除角色",
		post: async function (params) {
			return await http.post(this.method, params);
		}
	}
}
